package frobagroup.repositories.frontEnd;

import frobagroup.entities.frontEnd.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by Tinsley on 2018/5/9.
 */
public interface UserRepoeitory extends MongoRepository<User,String> {
    User findByEmailOrUsername(String email, String username);

}
